﻿using Sino.CapacityCloud.WebApi;
using Sino.Tms.Primitives;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;

namespace Sino.CapacityCloud.Repositories.Models
{

    public class CarAddingModerationCommit
    {

        [Key()]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public string CarAddingModerationCommitId { get; set; }

        public string Committer { get; set; }

        public string CarCode { get; set; }

        public VehicleType Type { get; set; }

        public CarriageType CarriageType { get; set; }

        public CarLength Length { get; set; }

        public double AssignmentOfLoad { get; set; }

        public string Source { get; set; }

        public string Address { get; set; }

        public string Driver { get; set; }

        public string PhoneNumber { get; set; }

        public DateTime ApplicationTime { get; set; }

        public CarAddingModerationCommit()
        {
            this.CarAddingModerationCommitId = Guid.NewGuid().ToString();
        }

    }

}